package switchviz.graphic.gauge.graph2d;

import switchviz.graphic.gauge.GaugeDataModel;

public class Graph2dDataModel extends GaugeDataModel
{

	public enum AlarmMode {NONE};
	public enum ScaleMode {LINEAR, LOGARITHM};
	
	private float _pointsize = 2.0f;
	private int _dataLength = 500;
	private int _granularity = 1;
	
	private AlarmMode _alarmMode = AlarmMode.NONE;
	private ScaleMode _scaleMode = ScaleMode.LINEAR;

	
	public float getPointsize() 
	{
		return _pointsize;
	}
	
	public void setPointsize(float pointsize) 
	{
		this._pointsize = pointsize;
	}
	
	public int getDataLength() 
	{
		return _dataLength;
	}
	
	public void setDataLength(int length) 
	{
		_dataLength = length;
	}

	public int getGranularity() 
	{
		return _granularity;
	}

	public void setGranularity(int granularity) 
	{
		this._granularity = granularity;
	}
	
	public AlarmMode getAlarmMode()
	{
		return _alarmMode;
	}
	
	public void setAlarmMode(AlarmMode alarmMode)
	{
		_alarmMode = alarmMode;
	}
	
	public ScaleMode getScaleMode() 
	{
		return _scaleMode;
	}

	public void setScaleMode(ScaleMode mode) 
	{
		_scaleMode = mode;
	}
}
